package in.bibek.hibernate.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name= "USER_PROFILE")
public class UserProfile {
  @Id
  @Column(name="USER_ID")
  private String userId;
  
  @Column(name="PASSWORD")
  private String password;
  
  @Column(name="USER_NAME")
  private String userName;
  
  @Column(name="USER_TYPE")
  private int userType;
  
  @Column(name = "PHONE")
  private String phone;
  
  @Column(name="COUNTRY")
  private String country;
  
  @Column(name = "STATE")
  private String state;
  
  @Column(name="PIN")
  private int pin;
  
  @Column(name="EMAIL")
  private String email;
  
  @Column(name="STATUS")
  private int status;
  
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public int getUserType() {
		return userType;
	}
	public void setUserType(int userType) {
		this.userType = userType;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getCountry() {
		return country;
	}
	public void setCountry(String country) {
		this.country = country;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public int getPin() {
		return pin;
	}
	public void setPin(int pin) {
		this.pin = pin;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	  
  
  
}
